package com.sxhalo.fsms.service.impl;

import java.util.List;

import com.sxhalo.fsms.domain.FactDrawingInfo;
import com.sxhalo.fsms.mapper.FactDrawingInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sxhalo.fsms.service.IFactDrawingInfoService;

@Service
public class FactDrawingInfoServiceImpl implements IFactDrawingInfoService {

	@Autowired
	private FactDrawingInfoMapper mapper;

	@Override
	public Integer insertSelective(FactDrawingInfo record) {
		return mapper.insertSelective(record);
	}

	@Override
	public Integer updateByPrimaryKeySelective(FactDrawingInfo record) {

		return mapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public Integer deleteByPrimaryKey(Object key) {
		return mapper.deleteByPrimaryKey(key.toString());
	}

	@Override
	public FactDrawingInfo selectByPrimaryKey(Object key) {
		return mapper.selectByPrimaryKey(key.toString());
	}

	@Override
	public List<FactDrawingInfo> findWhereList(String where, String order) {
		return mapper.findWhereList(where,order);
	}

	@Override
	public Integer getCount(String where) {
		return mapper.getCount(where);
	}

	@Override
	public List<FactDrawingInfo> findPagerList(Integer start, Integer length, String where, String order) {
		return mapper.findPagerList(start,length,where,order);
	}


	@Override
	public int batchUpdate(FactDrawingInfo record, String ids) {
		return mapper.batchUpdate(record,ids);
	}
}
